/* 
 * File:   Mutex.h
 * Author: maximiliano
 *
 * Created on May 22, 2013, 9:59 AM
 */
#include <pthread.h>

#ifndef MUTEX_H
#define	MUTEX_H

namespace TP {

class Mutex {

public:

    Mutex();

    virtual ~Mutex();

    void lock();

    void unlock();

private:
    pthread_mutex_t _mutex;
};

}

#endif	/* MUTEX_H */

